<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>修改热门问题</title>
    <link href="${pageContext.request.contextPath}/css/bootstrap.min.css" rel="stylesheet">
</head>
<body style="background-color: transparent;">
<div class="container">
    <div class="row clearfix">
        <div class="col-md-12 column">
            <div class="page-header">
                <h1><small>
                    修改热门问题
                </small></h1>
            </div>
        </div>
    </div>
    <form action="${pageContext.request.contextPath}/question/updateQuestion" method="post">
        <%--前端传递隐藏域--%>
        <input type="hidden" name="q_id" value="${list.q_id}"/>
        <div class="form-group">
            <label>问题名称</label>
            <input type="text" name="q_question" class="form-control" value="${list.q_question}" required/>
        </div>
        <div class="form-group">
            <label>回答</label>
            <textarea style="height: 150px" type="text" name="q_answer" class="form-control" required>${list.q_answer}
            </textarea>
        </div>

        <div class="form-group">
            <input type="submit" class="form-control" value="修改">
        </div>

    </form>

</div>
</body>
</html>
